package com.sy.mapper;

import com.sy.dto.CoachSubDto;
import com.sy.entity.Coach;
import com.sy.entity.Subject;

import java.util.List;

public interface CoachMapper {
    //1.教练登录
    Coach selectByLogin(Coach coach);
    //2.教练信息展示
    List<Coach> selectAllInfo(Coach coach);
    //3.课程安排
    List<CoachSubDto> selectAllSubjectByCoach(Coach coach);
    int updateCoach(Coach coach);
}
